package edu.sctu.practice.class01.zhoumengxue.practice02;

/**
 * Created by ASUS on 2015/11/5.
 */
public abstract class Learning {

    public void openComputer() {
        System.out.println("打开电脑！");
    }

    public abstract void learn();

    public void closeComputer() {
        System.out.println("关闭电脑！");
    }

    public void perform() {
        openComputer();
        learn();
        closeComputer();
    }
}
